NitroPack\Integration\Plugin\WooCommerce S

Total Complexity 34
Dependencies 1
Dependents 2
Total lines 202
Lines of code 122
Logical lines of code 75
Comment lines 54
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
purge_site_cache_on_sale_start_and_end()
A
52 9 23
update_cached_sale_products()
A
55 9 20
get_products_with_sale()
S
49 3 33
cache_sale_products()
S
60 4 13
get_sale_dates()
S
60 3 14
init()
S
63 3 10
isActive()
S
75 2 4
add_cache_expiration()
S
74 1 5